package dq.study.designmodel.bridge;

/**
 * @author dongqun
 * @Description:
 * @date 2019/4/18 21:30
 */
public class MyExtend2 extends AbstractClass {

    public MyExtend2(Bridge bridge) {
        this.bridge = bridge;
    }

    @Override
    protected void operate() {
        System.out.print("我是纵向扩展2");
        bridge.operate();
    }
}
